/**
 * 接口继承
 */
interface D2Point{
    x:number
    y:number
}
interface D3Point extends D2Point{
    z:number
}

let p1:D3Point={
    x:10,
    y:30,
    z:100
}